home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / loginout / dmlogn.exe / DMLOGIN.DOC next >
Text File  |  1994-04-10  |  5KB  |  145 lines

  1. DOSmenu Login Utility
  2. =====================
  3.  
  4. Version 6.0
  5. April 1994
  6. (C)Copyright 1993-1994 by Skip Bremer
  7.  
  8. Note:  DMlogin is normally sold as part of the DOSmenu network menu system
  9. package.  To evaluate the entire package, you need to download DOSMNU.EXE as
  10. well.
  11.  
  12. DMlogin is a fantastic utility for helping to bring true order and security to
  13. your network during the login and logout process.  For ordering information,
  14. please see the end of this document.
  15.  
  16. This program is NOT required by DOSmenu and DOSmenu is NOT required of
  17. DMlogin.  They are separate entities, but they work great together!
  18.  
  19. DMlogin acts a buffer between your user and the actual network login and
  20. logout commands.  Here is how you set it up.  The batch files below contain
  21. the basic minimum requirements.  You may doctor them up as you need -- we
  22. certainly have on our network.
  23.  
  24.  
  25. First
  26. =====
  27.  
  28. You run DMLOGIN.EXE by itself so that it can create its INI file.  This file
  29. defines the following:
  30.  
  31. o    The DOS variable to be used by DMlogin to pass the login and logout
  32.      commands/batch files to DOS.
  33.  
  34. o    The name of the command/batch file to be passed by DMlogin when logging
  35.      in to the network.
  36.  
  37. o    The name of a secondary command/batch file to be passed by DMlogin when
  38.      logging in to the network when a user places a '*' in front of their
  39.      name.  This is optional (if not used, leave a blank line in the INI file)
  40.      and can be used to provide an alternate login for support/power types,
  41.      etc.
  42.  
  43. o    The name of the command/batch file to be passed by DMlogin when force
  44.      logging out of the network.
  45.  
  46. o    The title of the user's login screen.
  47.  
  48. o    The help number for your network support shop.
  49.  
  50. o    Whether to use the fancy screen saver (yes) of the normal one (no).  The
  51.      fancy one is a graphic of a computer terminal while the normal one is a
  52.      business-like statement.
  53.  
  54. o    The background screen color (check DOSMENU.DOC for how to set this).
  55.  
  56.  
  57. Second
  58. ======
  59.  
  60. Make your batch files.  For these examples, the INI file answers look like
  61. this:
  62.  
  63. _DMLOGIN - the DOS variable
  64. _LOGIN   - the batch file DMlogin calls to login
  65.          - the alternate login batch file is not specified
  66. _LOGOUT  - the batch file DMlogin calls to logout
  67.  
  68. LOGIN.BAT
  69. ---------
  70. This is the main batch file your users will type (or get from their
  71. AUTOEXEC.BAT) to log in.  On NetWare, you should rename LOGIN.EXE to, say,
  72. IN.EXE (as shown in the examples).
  73.  
  74. @echo off
  75. dmlogin %1       ;%1 in case someone types 'login name'
  76. call %_dmlogin%  ;if DMlogin got good info from user, then run _login
  77.                  ;call is in case there is more to your batch file
  78.  
  79. _LOGIN.BAT
  80. ----------
  81. This is the batch file called by DMlogin to effect a login
  82.  
  83. @echo off
  84. in %1 %2         ;in is really the old network LOGIN.EXE program
  85. if exist f:\public\*.* goto END ;did we get logged in?
  86. dmlogin /error   ;must not have gotten logged in, so show error screen
  87. login %1         ;run main batch file again
  88. :END
  89.  
  90. _LOGOUT.BAT
  91. -----------
  92. This is the batch file called by DMlogin to effect a logout
  93. out              ;out is really the old network LOGOUT.EXE program
  94. login            ;run main batch file again
  95.  
  96. As previously stated, you can add to these batch files as needed.  We are just
  97. showing you the basic bare necessities that DMlogin needs in order to work
  98. properly.
  99.  
  100.  
  101. Third
  102. =====
  103.  
  104. Place the command that starts the process for your users in their
  105. AUTOEXEC.BAT, like login for LOGIN.BAT (if this is the case, you probably will
  106. have to rename the network login command to something else.  We rename
  107. LOGIN.EXE to IN.EXE and LOGOUT.EXE to OUT.EXE on our network.
  108.  
  109. Optionally, consider using DMKEY.EXE instead of PAUSE in your network user
  110. batch files.  It helps prevent batch file breakout.
  111.  
  112. That's all there is to it!  You may need to read the DMUSERS.DOC for some
  113. specifics on batch file placements on NetWare networks if you get strange
  114. error messages at times during the logout process.
  115.  
  116.  
  117. Important Note
  118. ==============
  119.  
  120. These programs and files should most probably be placed in your users' login
  121. directory on the network (\LOGIN for NetWare).  They work great there, but
  122. probably won't anywhere else due to other directories "going away" on logout.
  123.  
  124.  
  125. Shareware - Ordering
  126. ====================
  127.  
  128. DMlogin is normally sold as part of the DOSmenu package.  If you do not have
  129. DOSmenu, you can download it from Compuserve, the NOVUSERS/New Uploads forum.
  130. The file name is DOSMNU.EXE.
  131.  
  132. To order DOSmenu/DMlogin directly, contact the author, Skip Bremer, by
  133.  
  134.      calling:    512-328-2465
  135.  
  136.      or 
  137.  
  138.      writing:    Skip Bremer -DOSmenu
  139.                  3401 Cactus Wren Way
  140.                  Austin TX 78746 
  141.  
  142.      or
  143.  
  144.      Compuserve: CIS 71614,2556.
  145.